package cn.edu.sdjzu.xg.eagle.entities;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

@Setter
@Getter
@NoArgsConstructor
public class CommunityActivity {
    private String ActivityID;
    private String ActivityName;
    private String ActivityLocation;
    private String ActivityPlan;
    private String ActivityStatus;
    private LocalDateTime StartTime;
    private LocalDateTime EndTime;

    // 全参构造函数
    public CommunityActivity(String activityID, String activityName, String activityLocation,
                             String activityPlan, String activityStatus,
                             LocalDateTime startTime, LocalDateTime endTime) {
        ActivityID = activityID;
        ActivityName = activityName;
        ActivityLocation = activityLocation;
        ActivityPlan = activityPlan;
        ActivityStatus = activityStatus;
        StartTime = startTime;
        EndTime = endTime;
    }

    @Override
    public String toString() {
        return "CommunityActivity{" +
                "ActivityID='" + ActivityID + '\'' +
                ", ActivityName='" + ActivityName + '\'' +
                ", ActivityLocation='" + ActivityLocation + '\'' +
                ", ActivityPlan='" + ActivityPlan + '\'' +
                ", ActivityStatus='" + ActivityStatus + '\'' +
                ", StartTime=" + StartTime +
                ", EndTime=" + EndTime + '}';
    }
}